package action.conctrol;

import java.util.List;

import javax.security.auth.message.callback.PrivateKeyCallback.Request;

import persistent.dao.AdminDAO;
import persistent.factory.DAOFactory;




import com.opensymphony.xwork2.ActionSupport;

public class AdminmanageAction extends BaseAction {

	/**
	 * @return
	 */
	public String execute() {
		AdminDAO dao=DAOFactory.getAdminDAO();
		List list=dao.selectalladmin();
		request.setAttribute("admintable", list);
		return SUCCESS;
	}
}